import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 使用element-ui组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 注册echarts数据可视化插件
// import echarts from 'echarts'
var echarts = require('echarts');
Vue.prototype.$echarts = echarts

// 注册网络请求模块
import Axios from 'axios';
Vue.prototype.$request = Axios;

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
